
import Layout from '@/layout'

export default {
    path: '/departments',
    name: 'departments',

    component: Layout,
    children: [
        {
            path: '',//不写路径代表该路由为当前路由的默认路由
            component: () => import('@/views/departments'),
            name: 'departments',
            meta: {
                title: '组织结构',
                icon: 'tree'
            }
        }
    ]
}